LWS\WOOREWARDS\Core\Pool D

Total Complexity 208
Dependencies 12
Dependents 16
Total lines 1,036
Lines of code 706
Logical lines of code 432
Comment lines 161
Methods 67
Properties 20

Methods 67

Method Rating Maintainability Complexity Lines of code
setOption()
D
34 36 82
getOption()
B
40 20 59
save()
A
43 13 43
cmp()
A
50 11 26
delete()
A
44 8 46
triggerOrderDone()
A
47 7 31
tryUnlock()
S
50 6 29
_applyUnlock()
S
59 6 13
fromPost()
S
49 5 28
setName()
S
57 4 17
get_meta_datetime()
S
66 5 7
isPurchasable()
S
66 4 8
install()
S
58 3 14
getPointsOnOrder()
S
59 3 13
initUniqueStackId()
S
60 3 12
parseOrder()
S
55 2 19
addPoints()
S
58 2 15
setPoints()
S
58 2 15
usePoints()
S
58 2 15
_payAndContinue()
S
68 3 6
getOptions()
S
66 3 8
getTabId()
S
70 3 6
getPackageWPML()
S
61 2 12
_getGrantedUnlockables()
S
69 2 6
getDefaultConfiguration()
S
64 2 10
setOptions()
S
72 2 5
addEvent()
S
70 2 6
addUnlockable()
S
70 2 6
getStackId()
S
74 2 4
getSinglePostMetaIfExists()
S
74 2 4
maybeTriggerOrderDone()
S
72 2 5
formatPoints()
S
69 2 7
getId()
S
79 2 3
detach()
S
69 2 7
isActive()
S
74 1 4
isBuyable()
S
81 1 3
getPoints()
S
78 1 3
getGrantedUnlockablesForUser()
S
75 1 4
getGrantedUnlockablesWithPoints()
S
80 1 3
_setCustomOption()
S
82 1 3
_getCustomOption()
S
82 1 3
updateEvent()
S
74 1 5
updateUnlockable()
S
74 1 5
getUnlockables()
S
82 1 3
getEvents()
S
82 1 3
findEvent()
S
80 1 3
findUnlockable()
S
80 1 3
removeEvent()
S
80 1 3
removeUnlockable()
S
80 1 3
getStack()
S
79 1 3
getRawStackId()
S
82 1 3
setStackId()
S
77 1 4
getPostType()
S
81 1 3
getSimilarPostTypes()
S
80 1 3
ensureNameUnicity()
S
65 1 7
_customLoad()
S
82 1 3
subLoad()
S
68 1 7
_customSave()
S
82 1 3
userCan()
S
82 1 3
isDeletable()
S
82 1 3
getTriggerStatus()
S
74 1 4
legacyMaybeTriggerOrderDone()
S
82 1 3
reversePointsFormat()
S
82 1 3
formatPointsNumber()
S
82 1 3
getSymbol()
S
79 1 3
getName()
S
82 1 3
__construct()
S
67 1 7